package dto;

/**
 * DTO for registering an account. <br />
 * It cointains a password & repeat password field. <br />
 * The email field is inherited from WelcomeDTO.
 *
 * @author Joachim
 */
public class RegisterDTO extends WelcomeDTO {

    private String password;
    private String repeatPassword;

    /**
     * Default constructor
     */
    public RegisterDTO() {
        password = "";
        repeatPassword = "";
    }

    /**
     * Returns the password
     * @return The password
     */
    public String getPassword() {
        return password;
    }

    /**
     * Set the password
     * @param password The password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * Return the repeat password
     * @return The repeat password
     */
    public String getRepeatPassword() {
        return repeatPassword;
    }

    /**
     * Set the repeat password
     * @param repeatPassword The repeat password
     */
    public void setRepeatPassword(String repeatPassword) {
        this.repeatPassword = repeatPassword;
    }

}
